<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TrackerControl: net.kollnig.missioncontrol.data.TrackerBlocklist Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher_round.png"/></td>
  <td id="projectalign">
   <div id="projectname">TrackerControl
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>net</b></li><li class="navelem"><b>kollnig</b></li><li class="navelem"><b>missioncontrol</b></li><li class="navelem"><b>data</b></li><li class="navelem"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">net.kollnig.missioncontrol.data.TrackerBlocklist Class Reference</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa00c80a945a39eed9855de3fe7b966f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#aa00c80a945a39eed9855de3fe7b966f7">loadSettings</a> (Context c)</td></tr>
<tr class="separator:aa00c80a945a39eed9855de3fe7b966f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e4f35596bb18518cf1e76502314c6fa"><td class="memItemLeft" align="right" valign="top">Set&lt; Integer &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a0e4f35596bb18518cf1e76502314c6fa">getBlocklist</a> ()</td></tr>
<tr class="separator:a0e4f35596bb18518cf1e76502314c6fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af07350224ea522336ccc184c3b44b1e8"><td class="memItemLeft" align="right" valign="top">Set&lt; String &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#af07350224ea522336ccc184c3b44b1e8">getSubset</a> (int uid)</td></tr>
<tr class="separator:af07350224ea522336ccc184c3b44b1e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49ec471b0b53985786c06a9f52073325"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a49ec471b0b53985786c06a9f52073325">clear</a> ()</td></tr>
<tr class="separator:a49ec471b0b53985786c06a9f52073325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab305e76da0878cfb1684a4a98cb34318"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#ab305e76da0878cfb1684a4a98cb34318">clear</a> (int uid)</td></tr>
<tr class="separator:ab305e76da0878cfb1684a4a98cb34318"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88febb2b5209b41c42d5d1730666fc41"><td class="memItemLeft" align="right" valign="top">synchronized void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a88febb2b5209b41c42d5d1730666fc41">block</a> (int uid, String t)</td></tr>
<tr class="separator:a88febb2b5209b41c42d5d1730666fc41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e608233e498d8471d3380940e7b38c2"><td class="memItemLeft" align="right" valign="top">synchronized void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a8e608233e498d8471d3380940e7b38c2">unblock</a> (int uid, String t)</td></tr>
<tr class="separator:a8e608233e498d8471d3380940e7b38c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82737115f329c7bb299f10bf3c958652"><td class="memItemLeft" align="right" valign="top">synchronized void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a82737115f329c7bb299f10bf3c958652">block</a> (int uid, <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> t)</td></tr>
<tr class="separator:a82737115f329c7bb299f10bf3c958652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf075a75399c8aee27d569d355fbb7f"><td class="memItemLeft" align="right" valign="top">synchronized void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#abcf075a75399c8aee27d569d355fbb7f">unblock</a> (int uid, <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> t)</td></tr>
<tr class="separator:abcf075a75399c8aee27d569d355fbb7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e755c7fe6daa8f67d58a53890b52116"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a8e755c7fe6daa8f67d58a53890b52116">blocked</a> (int uid, String key)</td></tr>
<tr class="separator:a8e755c7fe6daa8f67d58a53890b52116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85d9fdce3cd160f2aad03edf84273f8b"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a85d9fdce3cd160f2aad03edf84273f8b">blockedTracker</a> (int uid, <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> t)</td></tr>
<tr class="separator:a85d9fdce3cd160f2aad03edf84273f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8c694dbaefab17c3d34d5299d26bb704"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#a8c694dbaefab17c3d34d5299d26bb704">getInstance</a> (Context c)</td></tr>
<tr class="separator:a8c694dbaefab17c3d34d5299d26bb704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1b9c9b9a5d70327821ad7f94c7fccd2"><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html#af1b9c9b9a5d70327821ad7f94c7fccd2">getBlockingKey</a> (<a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> t)</td></tr>
<tr class="separator:af1b9c9b9a5d70327821ad7f94c7fccd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-attribs" name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a4521289ba446a84cf5424c581537edb5"><td class="memItemLeft" align="right" valign="top"><a id="a4521289ba446a84cf5424c581537edb5" name="a4521289ba446a84cf5424c581537edb5"></a>
static final String&#160;</td><td class="memItemRight" valign="bottom"><b>SHARED_PREFS_BLOCKLIST_APPS_KEY</b> = &quot;APPS_BLOCKLIST_APPS_KEY&quot;</td></tr>
<tr class="separator:a4521289ba446a84cf5424c581537edb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81639ca85f28e1aca800d9208722bc9a"><td class="memItemLeft" align="right" valign="top"><a id="a81639ca85f28e1aca800d9208722bc9a" name="a81639ca85f28e1aca800d9208722bc9a"></a>
final static String&#160;</td><td class="memItemRight" valign="bottom"><b>PREF_BLOCKLIST</b> = &quot;blocklist&quot;</td></tr>
<tr class="separator:a81639ca85f28e1aca800d9208722bc9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a688fc8799f76622b304d14ba66b55afb"><td class="memItemLeft" align="right" valign="top"><a id="a688fc8799f76622b304d14ba66b55afb" name="a688fc8799f76622b304d14ba66b55afb"></a>
static String&#160;</td><td class="memItemRight" valign="bottom"><b>NECESSARY_CATEGORY</b> = &quot;Content&quot;</td></tr>
<tr class="separator:a688fc8799f76622b304d14ba66b55afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Stores what trackers are blocked, for each app. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a88febb2b5209b41c42d5d1730666fc41" name="a88febb2b5209b41c42d5d1730666fc41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88febb2b5209b41c42d5d1730666fc41">&#9670;&nbsp;</a></span>block() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">synchronized void net.kollnig.missioncontrol.data.TrackerBlocklist.block </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Block a given tracker for a given app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">t</td><td>Key of the tracker to be blocked </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a82737115f329c7bb299f10bf3c958652" name="a82737115f329c7bb299f10bf3c958652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82737115f329c7bb299f10bf3c958652">&#9670;&nbsp;</a></span>block() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">synchronized void net.kollnig.missioncontrol.data.TrackerBlocklist.block </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a>&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Block a given tracker for a given app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">t</td><td><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> to be blocked </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8e755c7fe6daa8f67d58a53890b52116" name="a8e755c7fe6daa8f67d58a53890b52116"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e755c7fe6daa8f67d58a53890b52116">&#9670;&nbsp;</a></span>blocked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean net.kollnig.missioncontrol.data.TrackerBlocklist.blocked </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Check if a given app can access a given tracker</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">key</td><td>Key of the tracker </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Whether access to this tracker is blocked </dd></dl>

</div>
</div>
<a id="a85d9fdce3cd160f2aad03edf84273f8b" name="a85d9fdce3cd160f2aad03edf84273f8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85d9fdce3cd160f2aad03edf84273f8b">&#9670;&nbsp;</a></span>blockedTracker()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean net.kollnig.missioncontrol.data.TrackerBlocklist.blockedTracker </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a>&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Check if a given app can access a given tracker</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">t</td><td><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Whether access to this tracker is blocked </dd></dl>

</div>
</div>
<a id="a49ec471b0b53985786c06a9f52073325" name="a49ec471b0b53985786c06a9f52073325"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49ec471b0b53985786c06a9f52073325">&#9670;&nbsp;</a></span>clear() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void net.kollnig.missioncontrol.data.TrackerBlocklist.clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Completely clear blocklist. </p>

</div>
</div>
<a id="ab305e76da0878cfb1684a4a98cb34318" name="ab305e76da0878cfb1684a4a98cb34318"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab305e76da0878cfb1684a4a98cb34318">&#9670;&nbsp;</a></span>clear() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void net.kollnig.missioncontrol.data.TrackerBlocklist.clear </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Clear all blocked trackers for a specific app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of app </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af1b9c9b9a5d70327821ad7f94c7fccd2" name="af1b9c9b9a5d70327821ad7f94c7fccd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1b9c9b9a5d70327821ad7f94c7fccd2">&#9670;&nbsp;</a></span>getBlockingKey()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static String net.kollnig.missioncontrol.data.TrackerBlocklist.getBlockingKey </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >For a given tracker company, this computes a key to store the blocking state of this tracker.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> company </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The key for storage of the blocking state </dd></dl>

</div>
</div>
<a id="a0e4f35596bb18518cf1e76502314c6fa" name="a0e4f35596bb18518cf1e76502314c6fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e4f35596bb18518cf1e76502314c6fa">&#9670;&nbsp;</a></span>getBlocklist()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Set&lt; Integer &gt; net.kollnig.missioncontrol.data.TrackerBlocklist.getBlocklist </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Get set of apps' uids which have information about blocked trackers</p>
<dl class="section return"><dt>Returns</dt><dd>Set of apps' uids </dd></dl>

</div>
</div>
<a id="a8c694dbaefab17c3d34d5299d26bb704" name="a8c694dbaefab17c3d34d5299d26bb704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c694dbaefab17c3d34d5299d26bb704">&#9670;&nbsp;</a></span>getInstance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a> net.kollnig.missioncontrol.data.TrackerBlocklist.getInstance </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Singleton getter for <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>context used to access <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a> from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current instance of the <a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker_blocklist.html">TrackerBlocklist</a>, if none, a new instance is created. </dd></dl>

</div>
</div>
<a id="af07350224ea522336ccc184c3b44b1e8" name="af07350224ea522336ccc184c3b44b1e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af07350224ea522336ccc184c3b44b1e8">&#9670;&nbsp;</a></span>getSubset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Set&lt; String &gt; net.kollnig.missioncontrol.data.TrackerBlocklist.getSubset </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Get information about what specific trackers are blocked for a given app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Information about what specific trackers are blocked </dd></dl>

</div>
</div>
<a id="aa00c80a945a39eed9855de3fe7b966f7" name="aa00c80a945a39eed9855de3fe7b966f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa00c80a945a39eed9855de3fe7b966f7">&#9670;&nbsp;</a></span>loadSettings()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void net.kollnig.missioncontrol.data.TrackerBlocklist.loadSettings </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Load past settings</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>Context </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8e608233e498d8471d3380940e7b38c2" name="a8e608233e498d8471d3380940e7b38c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e608233e498d8471d3380940e7b38c2">&#9670;&nbsp;</a></span>unblock() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">synchronized void net.kollnig.missioncontrol.data.TrackerBlocklist.unblock </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Unlock a given tracker for a given app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">t</td><td>Key of the tracker to be unblocked </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abcf075a75399c8aee27d569d355fbb7f" name="abcf075a75399c8aee27d569d355fbb7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcf075a75399c8aee27d569d355fbb7f">&#9670;&nbsp;</a></span>unblock() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">synchronized void net.kollnig.missioncontrol.data.TrackerBlocklist.unblock </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a>&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Unblock a given tracker for a given app</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uid</td><td>Uid of the app </td></tr>
    <tr><td class="paramname">t</td><td><a class="el" href="classnet_1_1kollnig_1_1missioncontrol_1_1data_1_1_tracker.html">Tracker</a> to be unblocked </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>app/src/main/java/net/kollnig/missioncontrol/data/TrackerBlocklist.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
